lcFontAddBin Home

Adds a font from a binary data.

 HANDLE lcFontAddBin (
   LPCWSTR szFontName,
   HANDLE hData
 );

Parameters
szFontName
  Font name.
If NULL or empty string is specified, then the loaded font will have a name as defined inside of the font. If the string is valid, then the font name will be redefined in the application.
hData
  Pointer to a memory buffer which contains a dump of LCF file.

Return Value

  Handle to the added font.
If the function fails, the return value is NULL.

See Also

  lcFontAddReslcFontAddFile